package cn.wh.org.service;

import cn.wh.org.domain.Shop;
import cn.wh.basic.service.IBaseService;
import cn.wh.org.domain.ShopAuditLog;
import cn.wh.org.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yaosang
 * @since 2022-06-12
 */
public interface IShopService extends IBaseService<Shop> {

    //店鋪入住
    void settlement(Shop shop);

    //通过
    void pass(ShopAuditLog shopAuditLog);
    //驳回
    void reject(ShopAuditLog shopAuditLog);

    //报表查询
    List<ShopVo> queryEcharts();

    //激活
    void activation(Long shopId);

    //批量新增
    void batchInsert(List<Shop> list);

    //驳回
    Shop findAdminById(Long adminId);
}
